package com.shengqin.calculate.events;

import com.shengqin.calculate.data.ErrorLogModel;
import org.springframework.context.ApplicationEvent;

public class CalculateLogEvent extends ApplicationEvent {

  private ErrorLogModel model;

  public CalculateLogEvent(Object source, ErrorLogModel model) {
    super(source);
    this.model = model;
  }

  public ErrorLogModel getModel() {
    return model;
  }

  public void setModel(ErrorLogModel model) {
    this.model = model;
  }
}